﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SPI_TOOLS.Models
{
    public class BoardDataModel:ModelNotifyBase
    {
        public BoardDataModel() { }

        private string id = "";
        public string Id
        {
            get { return id; }
            set { id = value; RaisePropertyChanged(nameof(Id)); }
        }

        private string barcode = "";
        public string Barcode
        {
            get { return barcode; }
            set { barcode = value; RaisePropertyChanged(nameof(Barcode)); }
        }

        private int number = 0;
        public int Number
        {
            get { return number; }
            set { number = value; RaisePropertyChanged(nameof(Number)); }
        }

        private int state = 0;
        public int State
        {
            get { return state; }
            set { state = value; RaisePropertyChanged(nameof(State)); }
        }

        private int componentTotal = 0;
        public int ComponentTotal
        {
            get { return componentTotal; }
            set { componentTotal = value; RaisePropertyChanged(nameof(ComponentTotal)); }
        }

        private string panelID = "";
        public string PanelID
        {
            get { return panelID; }
            set { panelID = value; RaisePropertyChanged(nameof(PanelID)); }
        }

        private string recipe_code = "default";
        public string RecipeCode { get { return recipe_code; } set { recipe_code = value; RaisePropertyChanged(nameof(RecipeCode)); } }
    }
}
